import { getRandomId } from "../common/index.js";
//创建随机验证码
function createCode(req, res, next) {
  let code = getRandomId(6);
  console.log("验证码为：",code)
  res.send({
    code: 200,
    msg: "发送成功",
    phoneCode: code,
  });
}
export { createCode };
